Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

MAH CET MCA Previous Year Questions (PYQs)

MAH CET MCA C Programming Language PYQ



What is the purpose of the 'break' statement in C?





Go to Discussion


Solution



______ are used to compare two quantities and, depending on their relation, take certain decisions for that comparison.





Go to Discussion


Solution



What will be the output of the following C code?

 #include<stdio.h>  
 int main() 
{     
int x = 10, y = 20;     
int z = x;    
x = y;    
y = z;     
printf("%d %d", x, y);     
return 0; 
 }





Go to Discussion


Solution



What is the output of the below program? 
int main() 
{     
int a, b, sum;     
sum = 0;     
for (a = 0; a < 5; a++) 
{         
for (b = 0; b < 5; b++) 
{             
sum++;         
}    
}     
printf("%d", sum);     
return 0; 
 }






Go to Discussion


Solution



What is the correct syntax for declaring a variable in C?





Go to Discussion


Solution



What will be the value of x so that "Kavita" will be printed? 
 main() 
{     
int x;     
if (x > 4) 
printf("Manisha");     
else 
printf("Kavita"); 
 }





Go to Discussion


Solution



Library function getch() belongs to which header file in C language?





Go to Discussion


Solution



MAH CET MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

MAH CET MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.